MyResizeRequest
Handles a request to resize a frame. When creating a frame, you must designate a callback function to resize the frame if necessary. For example, this is how you would define your frame resize function if you were to name it MyResizeRequest:
Boolean MyResizeRequest ( JMFrameRef frame, Rect* desired);
frame
- The frame to be resized.
desired
- A pointer to the new desired dimensions of the frame.
- function result
- True if the frame can be resized to the requested dimensions.
DISCUSSION
The function can refuse the resize request or adjust the frame size to something other than the requested dimensions. If your function sets a new frame size, you can modify the value ofdesired
to reflect the new dimensions.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help